<?php print '<?xml version="1.0" encoding="UTF-8"?>'?>
<gallery
	frameColor="0x000000" 
	frameWidth="5" 
	imagePadding="2" 
	displayTime="3" 
	enableRightClickOpen="false">
<?php foreach ((array)$this->rowset as $row):?>
<image>
   <url>/upload/gallery/preview/<?php print $this->escape($row['image'])?></url>
   <caption><![CDATA[<?php print @$row['description']?>]]></caption>
   <width><?php print $row['width']?></width>
   <height><?php print $row['height']?></height>
</image>
<?php endforeach;?>
</gallery>